import Vue from 'vue';

import textFilter from "@/views/modules/form/core/filterController/textFilter";
import numberFilter from "@/views/modules/form/core/filterController/numberFilter";
import selectFilter from "@/views/modules/form/core/filterController/selectFilter";
import dateFilter from "@/views/modules/form/core/filterController/dateFilter";
import dateRangeFilter from "@/views/modules/form/core/filterController/dateRangeFilter";
import dialogFilter from "@/views/modules/form/core/filterController/dialogFilter";
import userFilter from "@/views/modules/form/core/filterController/userFilter";
import groupFilter from "@/views/modules/form/core/filterController/groupFilter";
import treeFilter from "@/views/modules/form/core/filterController/treeFilter";
import monthFilter from "@/views/modules/form/core/filterController/monthFilter";
import yearFilter from "@/views/modules/form/core/filterController/yearFilter";


Vue.component(selectFilter.name,selectFilter);
Vue.component(dateFilter.name,dateFilter);
Vue.component(dateRangeFilter.name,dateRangeFilter);
Vue.component(dialogFilter.name,dialogFilter);
Vue.component(userFilter.name,userFilter);
Vue.component(groupFilter.name,groupFilter);
Vue.component(treeFilter.name,treeFilter);
Vue.component(textFilter.name,textFilter);
Vue.component(numberFilter.name,numberFilter);
Vue.component(monthFilter.name,monthFilter);
Vue.component(yearFilter.name,yearFilter);


var Filters={}

Filters[selectFilter.name]=selectFilter;
Filters[dateFilter.name]=dateFilter;
Filters[dateRangeFilter.name]=dateRangeFilter;
Filters[dialogFilter.name]=dialogFilter;
Filters[userFilter.name]=userFilter;
Filters[groupFilter.name]=groupFilter;
Filters[treeFilter.name]=treeFilter;
Filters[textFilter.name]=textFilter;
Filters[numberFilter.name]=numberFilter;
Filters[monthFilter.name]=monthFilter;
Filters[yearFilter.name]=yearFilter;

export default Filters;